package com.vf.admin.platform.service.impl;

import com.vf.admin.platform.dao.BaoMingDao;
import com.vf.admin.platform.entity.BaoMing;
import com.vf.admin.platform.service.BaoMingService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class BaoMingServiceImpl implements BaoMingService   {
    private final Logger logger = LoggerFactory.getLogger(this.getClass());
    @Autowired
    private BaoMingDao baoMingDao;

    @Override
    public void saveOrUpdate(BaoMing baoMing){
        baoMingDao.saveOrUpdate(baoMing);
    }
    @Override
    public BaoMing get(Integer id){
        return baoMingDao.get(id);
    }
    @Override
    public List<BaoMing> findList(Map<String,Object> paraMap){
        return baoMingDao.findList(paraMap);
    }
    @Override
    public void del(int id){
        baoMingDao.del(id);
    }
}
